home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Graphics / Gallery / Source / ManagerWindow.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-20  |  1.8 KB  |  75 lines

  1. #ifndef    MANAGERWINDOW_HPP
  2. #define    MANAGERWINDOW_HPP
  3.  
  4. // $VER: ManagerWindow.hpp 39.5 (04.11.97)
  5. //
  6. //
  7. // (C) Copyright 1996,97 Markus Hillenbrand
  8. //     All Rights Reserved, No Warranty
  9.  
  10. #ifndef     GUIC_CLASSES_FILEREQUESTER_H
  11. #include "GUIC_FileRequester.hpp"
  12. #endif
  13.  
  14. #ifndef     GUIC_CLASSES_PATHREQUESTER_H
  15. #include "GUIC_PathRequester.hpp"
  16. #endif
  17.  
  18. #ifndef     GUIC_CLASSES_WINDOW_H
  19. #include "GUIC_Window.hpp"
  20. #endif
  21.  
  22. #define NUMBER_OF_THUMBNAILS 15
  23.  
  24. class GUIC_ApplicationC;
  25. class GUIC_EventC;
  26. class GUIC_ImageButtonC;
  27. class GUIC_SlideButtonC;
  28. class GUIC_LabelC;
  29. class GUIC_PanelC;
  30. class GUIC_SeparatorC;
  31. class GUIC_ScreenC;
  32. class GUIC_TextfieldC;
  33.  
  34. class PrefsWindowC;
  35. class ManagerWindowC_ListEntry;
  36.  
  37. class ManagerWindowC : public GUIC_WindowC
  38.     {
  39.     public:
  40.         ManagerWindowC         (GUIC_ApplicationC &app, GUIC_ScreenC &screen, PrefsWindowC &pWindow);
  41.         ~ManagerWindowC     (VOID);
  42.         
  43.         STRPTR    getClass        (VOID);
  44.         BOOL     action         (GUIC_EventC &event);
  45.  
  46.     protected:
  47.         VOID         cleanUp        (VOID);
  48.  
  49.     private:
  50.         VOID        setSource    (VOID);
  51.         VOID        showFile        (ManagerWindowC_ListEntry *entry);
  52.         BOOL        copyFile        (ManagerWindowC_ListEntry *entry);
  53.         VOID        deleteFile    (ManagerWindowC_ListEntry *entry, LONG button);
  54.         VOID        moveFile        (ManagerWindowC_ListEntry *entry, LONG button);
  55.         
  56.         GUIC_ApplicationC             *app;
  57.         GUIC_ScreenC                 *screen;
  58.         PrefsWindowC                *pWindow;
  59.  
  60.         LONG                                firstThumbnail;
  61.         GUIC_ListC                        sourceFiles;
  62.  
  63.         GUIC_PathRequesterC    pr_sourcePath, pr_destPath;
  64.  
  65.         GUIC_PanelC                    *pa_window, *pa_sourcePath, *pa_destPath, *pa_thumbnails, *pa_message;
  66.         GUIC_SeparatorC            *sp_line1, *sp_line2;
  67.         GUIC_LabelC                    *la_sourcePath, *la_destPath, *la_message;
  68.         GUIC_TextfieldC                *tf_sourcePath, *tf_destPath, *tf_message;
  69.         GUIC_ImageButtonC        *bt_sourcePath, *bt_destPath;
  70.         GUIC_SlideButtonC            *bt_thumbnails[NUMBER_OF_THUMBNAILS];
  71.     };
  72.  
  73. #endif
  74.  
  75.